package com.mvu.banana.tools;

/**
 */
public class GeneratorUtil {
  public static String getFieldName(String name) {
    char firstCharacter = Character.toUpperCase(name.charAt(0));
    return new StringBuilder().append(firstCharacter).append(name.substring(1)).toString();
  }

  public static String getEntityName(String defName) {
    return defName.substring(0, defName.length() - 3);
  }

}
